ExceptionSubscriber
extends AbstractController
in package
Table of Contents
Methods
- getSubscribedEvents() : array<string|int, mixed>
- Returns the subscribed events for the ExceptionSubscriber.
- onKernelException() : void
Methods
getSubscribedEvents()
Returns the subscribed events for the ExceptionSubscriber.
public
static getSubscribedEvents() : array<string|int, mixed>
Return values
array<string|int, mixed> —The subscribed events.
onKernelException()
public
onKernelException(ExceptionEvent $event) : void
Parameters
- $event : ExceptionEvent